package com.yufei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.SortedMap;

/**
 * 套餐菜品关系
 */
@Data
public class SetmealDish {
    @TableId(type = IdType.AUTO)
    private Long id;
    //套餐id
    private Long setmealId;
    private Long dishId;
    //菜品名称
    private String name;
    private BigDecimal price;
    //份数
    private Integer copies;
    private Integer sort;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    private Long createUser;
    private Long updateUser;
    private Integer isDeleted;
}
